// RenderInfo struct which contains necessary information
// to render an object to the screen
#pragma once

#include <d3d9.h>
#include <d3dx9.h>

struct RenderInfo
{
	ID3DXEffect* mFX;
	D3DXHANDLE   mhTech;
	D3DXHANDLE   mhWorld;
	D3DXHANDLE   mhWorldInvTrans;
	D3DXHANDLE   mhWVP;
	D3DXHANDLE   mhAmbientMtrl;
	D3DXHANDLE   mhAmbientLight;
	D3DXHANDLE   mhDiffuseMtrl;
	D3DXHANDLE   mhDiffuseLight;
	D3DXHANDLE   mhSpecMtrl;
	D3DXHANDLE   mhSpecLight;
	D3DXHANDLE   mhSpecPower;
	D3DXHANDLE   mhLightVecW;
	D3DXHANDLE   mhEyePos;
	D3DXHANDLE   mhTex;
	D3DXMATRIX	 mView;
	D3DXMATRIX	 mProj;

};